package com.woniu.smallmedical.mapper;

import com.woniu.smallmedical.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author author
 * @create 2021-10-08-15:00
 */
public interface GraphInfoMapper {
    List<GraphInfo> selectCountPatientInfoGender(@Param("dateStartEnd") DateStartEnd dateStartEnd);
    List<GraphInfo> selectCountPatientInfoAge(@Param("dateStartEnd") DateStartEnd dateStartEnd);
    int selectCountRegistration(@Param("dateStartEnd") DateStartEnd dateStartEnd);
    int selectCountPatient(@Param("dateStartEnd") DateStartEnd dateStartEnd);
    List<ClincLog> selectClincLog(@Param("dateStartEnd")DateStartEnd dateStartEnd,@Param("pageIndex") Integer pageIndex,@Param("pageSize") Integer pageSize);
    int countClincLog(@Param("dateStartEnd")DateStartEnd dateStartEnd);
    List<User> selectDoctor();
    List<Flow> selectFlow();
}
